import multiprocessing
import time
import multiprocessing as mp

import numpy as np
from concurrent.futures import ProcessPoolExecutor


def compute(x):
    print(x)
    time.sleep(5)
    return np.power(x, 2)


def map_keys(dict_content: dict, size: int = 30) -> list:
    dict_size = len(dict_content.keys())
    idx = [i for i in range(0, dict_size, size)]

    pass


if __name__ == "__main__":
    d = dict()
    for i in range(1000):
        d[i] = i
